package artid.com.arttogo.bean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by 熊彬
 */
// Table注解指定了这个Bean类对应的数据表
@Table(name = "NoteBean")
public class NoteBean {
	// Column注解指明了这个属性在数据表中状态
	@Column(name = "id", isId = true)
	private String id;
	@Column(name = "noid")
	private String noid;
	@Column(name = "content")
	private String content;

	public NoteBean() {
	}

	public NoteBean(String noid, String content) {
		this.noid = noid;
		this.content = content;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNoid() {
		return noid;
	}

	public void setNoid(String noid) {
		this.noid = noid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "NoteBean [id=" + id + ", noid=" + noid + ", content=" + content
				+ "]";
	}

}